home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-05-21 | 10.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v20 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 35 3a 33 37 20 31 | 39 39 38 0a 3b 3b 3b 20 |:55:37 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 75 74 69 6c |s-20.3/l|isp/util|
|000000a0| 73 2f 62 72 6f 77 73 65 | 2d 63 6c 74 6c 32 2e 65 |s/browse|-cltl2.e|
|000000b0| 6c 0a 3b 3b 3b 20 65 6d | 61 63 73 20 76 65 72 73 |l.;;; em|acs vers|
|000000c0| 69 6f 6e 20 32 30 2e 34 | 20 22 45 6d 65 72 61 6c |ion 20.4| "Emeral|
|000000d0| 64 22 20 58 45 6d 61 63 | 73 20 20 4c 75 63 69 64 |d" XEmac|s Lucid|
|000000e0| 2e 0a 3b 3b 3b 20 62 79 | 74 65 63 6f 6d 70 20 76 |..;;; by|tecomp v|
|000000f0| 65 72 73 69 6f 6e 20 32 | 2e 32 35 20 58 45 6d 61 |ersion 2|.25 XEma|
|00000100| 63 73 3b 20 32 32 2d 4d | 61 72 2d 39 36 2e 0a 3b |cs; 22-M|ar-96..;|
|00000110| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|00000120| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|00000130| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|00000140| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|00000150| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 20 31 39 |xist in |Emacs 19|
|00000160| 2e 0a 0a 28 69 66 20 28 | 61 6e 64 20 28 62 6f 75 |...(if (|and (bou|
|00000170| 6e 64 70 20 27 65 6d 61 | 63 73 2d 76 65 72 73 69 |ndp 'ema|cs-versi|
|00000180| 6f 6e 29 0a 09 20 28 6f | 72 20 28 61 6e 64 20 28 |on).. (o|r (and (|
|00000190| 62 6f 75 6e 64 70 20 27 | 65 70 6f 63 68 3a 3a 76 |boundp '|epoch::v|
|000001a0| 65 72 73 69 6f 6e 29 20 | 65 70 6f 63 68 3a 3a 76 |ersion) |epoch::v|
|000001b0| 65 72 73 69 6f 6e 29 0a | 09 20 20 20 20 20 28 73 |ersion).|. (s|
|000001c0| 74 72 69 6e 67 2d 6c 65 | 73 73 70 20 65 6d 61 63 |tring-le|ssp emac|
|000001d0| 73 2d 76 65 72 73 69 6f | 6e 20 22 32 30 22 29 29 |s-versio|n "20"))|
|000001e0| 29 0a 20 20 20 20 28 65 | 72 72 6f 72 20 22 60 62 |). (e|rror "`b|
|000001f0| 72 6f 77 73 65 2d 63 6c | 74 6c 32 2e 65 6c 27 20 |rowse-cl|tl2.el' |
|00000200| 77 61 73 20 63 6f 6d 70 | 69 6c 65 64 20 66 6f 72 |was comp|iled for|
|00000210| 20 45 6d 61 63 73 20 32 | 30 22 29 29 0a 0a 28 6f | Emacs 2|0"))..(o|
|00000220| 72 20 28 62 6f 75 6e 64 | 70 20 27 63 75 72 72 65 |r (bound|p 'curre|
|00000230| 6e 74 2d 6c 6f 61 64 2d | 6c 69 73 74 29 20 28 73 |nt-load-|list) (s|
|00000240| 65 74 71 20 63 75 72 72 | 65 6e 74 2d 6c 6f 61 64 |etq curr|ent-load|
|00000250| 2d 6c 69 73 74 20 6e 69 | 6c 29 29 0a 0a 0a 23 40 |-list ni|l))...#@|
|00000260| 31 34 35 20 45 6e 61 62 | 6c 65 73 20 6f 72 20 64 |145 Enab|les or d|
|00000270| 69 73 61 62 6c 65 73 20 | 72 65 74 72 69 65 76 61 |isables |retrieva|
|00000280| 6c 20 6f 66 20 74 68 65 | 20 69 6e 64 65 78 2d 66 |l of the| index-f|
|00000290| 69 6c 65 20 76 69 61 20 | 57 57 57 20 28 6f 72 20 |ile via |WWW (or |
|000002a0| 6d 6f 72 65 0a 20 65 78 | 61 63 74 6c 79 20 62 79 |more. ex|actly by|
|000002b0| 20 74 68 65 20 75 73 65 | 20 6f 66 20 74 68 65 20 | the use| of the |
|000002c0| 66 75 6e 63 74 69 6f 6e | 20 75 72 6c 2d 72 65 74 |function| url-ret|
|000002d0| 72 69 65 76 65 20 66 72 | 6f 6d 20 75 72 6c 2e 65 |rieve fr|om url.e|
|000002e0| 6c 29 2e 0a 20 44 65 66 | 61 75 6c 74 20 69 73 20 |l).. Def|ault is |
|000002f0| 27 74 2e 1f 0a 28 64 65 | 66 76 61 72 20 2a 63 6c |'t...(de|fvar *cl|
|00000300| 74 6c 32 2d 75 73 65 2d | 75 72 6c 2a 20 6e 69 6c |tl2-use-|url* nil|
|00000310| 20 28 23 24 20 2e 20 36 | 31 32 29 29 0a 28 62 79 | (#$ . 6|12)).(by|
|00000320| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 21 88 c0 c2 21 |te-code |"..!...!|
|00000330| 88 0b ac 84 c0 c4 21 88 | c0 87 22 20 5b 72 65 71 |......!.|.." [req|
|00000340| 75 69 72 65 20 63 6c 20 | 62 72 6f 77 73 65 2d 75 |uire cl |browse-u|
|00000350| 72 6c 20 2a 63 6c 74 6c | 32 2d 75 73 65 2d 75 72 |rl *cltl|2-use-ur|
|00000360| 6c 2a 20 75 72 6c 5d 20 | 32 29 0a 23 40 33 36 36 |l* url] |2).#@366|
|00000370| 20 54 68 69 73 20 73 65 | 74 73 20 74 68 65 20 6d | This se|ts the m|
|00000380| 65 74 68 6f 64 20 62 79 | 20 77 68 69 63 68 20 74 |ethod by| which t|
|00000390| 68 65 20 69 6e 64 65 78 | 2d 66 69 6c 65 20 77 69 |he index|-file wi|
|000003a0| 6c 6c 20 62 65 20 66 65 | 74 63 68 65 64 2e 20 54 |ll be fe|tched. T|
|000003b0| 68 72 65 65 0a 20 20 6d | 65 74 68 6f 64 73 20 61 |hree. m|ethods a|
|000003c0| 72 65 20 70 6f 73 73 69 | 62 6c 65 3a 20 27 6c 6f |re possi|ble: 'lo|
|000003d0| 63 61 6c 20 61 73 73 75 | 6d 65 73 20 74 68 61 74 |cal assu|mes that|
|000003e0| 20 61 6c 6c 20 66 69 6c | 65 73 20 61 72 65 20 6c | all fil|es are l|
|000003f0| 6f 63 61 6c 2e 20 0a 20 | 20 27 6c 6f 63 61 6c 2d |ocal. . | 'local-|
|00000400| 69 6e 64 65 78 2d 6f 6e | 6c 79 20 61 73 73 75 6d |index-on|ly assum|
|00000410| 65 73 20 74 68 61 74 20 | 6a 75 73 74 20 74 68 65 |es that |just the|
|00000420| 20 69 6e 64 65 78 2d 66 | 69 6c 65 20 69 73 20 6c | index-f|ile is l|
|00000430| 6f 63 61 6c 6c 79 20 62 | 75 74 0a 20 20 61 6c 6c |ocally b|ut. all|
|00000440| 20 6f 74 68 65 72 20 66 | 69 6c 65 73 20 77 69 6c | other f|iles wil|
|00000450| 6c 20 62 65 20 66 65 74 | 63 68 65 64 20 76 69 61 |l be fet|ched via|
|00000460| 20 77 77 77 2e 20 27 77 | 77 77 20 6d 65 61 6e 73 | www. 'w|ww means|
|00000470| 20 74 68 61 74 20 74 68 | 65 20 69 6e 64 65 78 2d | that th|e index-|
|00000480| 66 69 6c 65 0a 20 20 77 | 69 6c 6c 20 62 65 20 66 |file. w|ill be f|
|00000490| 65 74 63 68 65 64 20 76 | 69 61 20 57 57 57 2c 20 |etched v|ia WWW, |
|000004a0| 74 6f 6f 2e 20 44 6f 6e | 27 74 20 63 68 61 6e 67 |too. Don|'t chang|
|000004b0| 65 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 74 |e the va|lue of t|
|000004c0| 68 69 73 20 76 61 72 69 | 61 62 6c 65 0a 20 20 61 |his vari|able. a|
|000004d0| 66 74 65 72 20 6c 6f 61 | 64 69 6e 67 2e 1f 0a 28 |fter loa|ding...(|
|000004e0| 64 65 66 76 61 72 20 2a | 63 6c 74 6c 32 2d 66 65 |defvar *|cltl2-fe|
|000004f0| 74 63 68 2d 6d 65 74 68 | 6f 64 2a 20 27 6c 6f 63 |tch-meth|od* 'loc|
|00000500| 61 6c 20 28 23 24 20 2e | 20 38 38 31 29 29 0a 23 |al (#$ .| 881)).#|
|00000510| 40 33 35 33 20 54 68 65 | 20 75 72 6c 20 77 68 65 |@353 The| url whe|
|00000520| 72 65 20 74 68 65 20 68 | 79 70 65 72 74 65 78 74 |re the h|ypertext|
|00000530| 2d 76 65 72 73 69 6f 6e | 20 6f 66 20 43 6f 6d 6d |-version| of Comm|
|00000540| 6f 6e 20 4c 69 73 70 20 | 74 68 65 20 4c 61 6e 67 |on Lisp |the Lang|
|00000550| 75 61 67 65 0a 20 63 61 | 6e 20 62 65 20 66 6f 75 |uage. ca|n be fou|
|00000560| 6e 64 2e 20 4e 6f 74 65 | 20 74 68 61 74 20 74 68 |nd. Note| that th|
|00000570| 69 73 20 61 73 73 75 6d | 65 73 20 74 6f 20 62 65 |is assum|es to be|
|00000580| 20 74 68 65 20 74 6f 70 | 2d 6c 65 76 65 6c 20 6f | the top|-level o|
|00000590| 66 20 74 68 65 0a 20 64 | 69 72 65 63 74 6f 72 79 |f the. d|irectory|
|000005a0| 20 73 74 72 75 63 74 75 | 72 65 20 77 68 69 63 68 | structu|re which|
|000005b0| 20 73 68 6f 75 6c 64 20 | 62 65 20 74 68 65 20 73 | should |be the s|
|000005c0| 61 6d 65 20 61 73 20 69 | 6e 20 74 68 65 20 68 79 |ame as i|n the hy|
|000005d0| 70 65 72 74 65 78 74 0a | 20 76 65 72 73 69 6f 6e |pertext.| version|
|000005e0| 20 61 73 20 70 72 6f 76 | 69 64 65 64 20 62 79 20 | as prov|ided by |
|000005f0| 74 68 65 20 43 4d 55 20 | 41 49 20 52 65 70 6f 73 |the CMU |AI Repos|
|00000600| 69 74 6f 72 79 2e 20 44 | 65 66 61 75 6c 74 73 20 |itory. D|efaults |
|00000610| 74 6f 0a 20 68 74 74 70 | 3a 2f 2f 77 77 77 2e 63 |to. http|://www.c|
|00000620| 73 2e 63 6d 75 2e 65 64 | 75 2f 61 66 73 2f 63 73 |s.cmu.ed|u/afs/cs|
|00000630| 2e 63 6d 75 2e 65 64 75 | 2f 70 72 6f 6a 65 63 74 |.cmu.edu|/project|
|00000640| 2f 61 69 2d 72 65 70 6f | 73 69 74 6f 72 79 2f 61 |/ai-repo|sitory/a|
|00000650| 69 2f 68 74 6d 6c 2f 63 | 6c 74 6c 2f 0a 20 4e 6f |i/html/c|ltl/. No|
|00000660| 74 65 20 74 68 65 20 2f | 20 61 74 20 74 68 65 20 |te the /| at the |
|00000670| 65 6e 64 2e 1f 0a 28 64 | 65 66 76 61 72 20 2a 63 |end...(d|efvar *c|
|00000680| 6c 74 6c 32 2d 75 72 6c | 2a 20 22 68 74 74 70 3a |ltl2-url|* "http:|
|00000690| 2f 2f 77 77 77 2e 63 73 | 2e 63 6d 75 2e 65 64 75 |//www.cs|.cmu.edu|
|000006a0| 2f 61 66 73 2f 63 73 2e | 63 6d 75 2e 65 64 75 2f |/afs/cs.|cmu.edu/|
|000006b0| 70 72 6f 6a 65 63 74 2f | 61 69 2d 72 65 70 6f 73 |project/|ai-repos|
|000006c0| 69 74 6f 72 79 2f 61 69 | 2f 68 74 6d 6c 2f 63 6c |itory/ai|/html/cl|
|000006d0| 74 6c 2f 22 20 28 23 24 | 20 2e 20 31 33 30 31 29 |tl/" (#$| . 1301)|
|000006e0| 29 0a 23 40 32 36 32 20 | 41 20 64 69 72 65 63 74 |).#@262 |A direct|
|000006f0| 6f 72 79 20 77 68 65 72 | 65 20 74 68 65 20 43 4c |ory wher|e the CL|
|00000700| 74 6c 32 20 63 61 6e 20 | 62 65 20 66 6f 75 6e 64 |tl2 can |be found|
|00000710| 2e 20 4e 6f 74 65 20 74 | 68 61 74 20 74 68 69 73 |. Note t|hat this|
|00000720| 20 61 73 73 75 6d 65 73 | 0a 20 74 6f 20 62 65 20 | assumes|. to be |
|00000730| 74 68 65 20 74 6f 70 2d | 6c 65 76 65 6c 20 6f 66 |the top-|level of|
|00000740| 20 74 68 65 20 64 69 72 | 65 63 74 6f 72 79 20 73 | the dir|ectory s|
|00000750| 74 72 75 63 74 75 72 65 | 20 77 68 69 63 68 20 73 |tructure| which s|
|00000760| 68 6f 75 6c 64 20 62 65 | 20 74 68 65 0a 20 73 61 |hould be| the. sa|
|00000770| 6d 65 20 61 73 20 69 6e | 20 74 68 65 20 68 79 70 |me as in| the hyp|
|00000780| 65 72 74 65 78 74 20 76 | 65 72 73 69 6f 6e 20 61 |ertext v|ersion a|
|00000790| 73 20 70 72 6f 76 69 64 | 65 64 20 62 79 20 74 68 |s provid|ed by th|
|000007a0| 65 20 43 4d 55 20 41 49 | 20 52 65 70 6f 73 69 74 |e CMU AI| Reposit|
|000007b0| 6f 72 79 2e 0a 20 44 65 | 66 61 75 6c 74 73 20 74 |ory.. De|faults t|
|000007c0| 6f 20 2f 75 73 72 2f 64 | 6f 63 2f 68 74 6d 6c 2f |o /usr/d|oc/html/|
|000007d0| 63 6c 74 6c 2f 20 4e 6f | 74 65 20 74 68 65 20 2f |cltl/ No|te the /|
|000007e0| 20 61 74 20 74 68 65 20 | 65 6e 64 2e 1f 0a 28 64 | at the |end...(d|
|000007f0| 65 66 76 61 72 20 2a 63 | 6c 74 6c 32 2d 6c 6f 63 |efvar *c|ltl2-loc|
|00000800| 61 6c 2d 66 69 6c 65 2d | 70 6f 73 2a 20 22 2f 75 |al-file-|pos* "/u|
|00000810| 73 72 2f 64 6f 63 2f 68 | 74 6d 6c 2f 63 6c 74 6c |sr/doc/h|tml/cltl|
|00000820| 2f 22 20 28 23 24 20 2e | 20 31 37 36 38 29 29 0a |/" (#$ .| 1768)).|
|00000830| 23 40 32 34 32 20 54 68 | 65 20 6e 61 6d 65 20 6f |#@242 Th|e name o|
|00000840| 66 20 74 68 65 20 69 6e | 64 65 78 2d 66 69 6c 65 |f the in|dex-file|
|00000850| 2c 20 74 79 70 69 63 61 | 6c 6c 79 20 77 69 74 68 |, typica|lly with|
|00000860| 20 64 69 72 65 63 74 6f | 72 79 20 6f 6e 20 66 72 | directo|ry on fr|
|00000870| 6f 6e 74 2e 20 0a 20 20 | 44 65 66 61 75 6c 74 73 |ont. . |Defaults|
|00000880| 20 74 6f 20 63 6c 6d 2f | 69 6e 64 65 78 2e 68 74 | to clm/|index.ht|
|00000890| 6d 6c 2c 20 61 73 20 74 | 68 69 73 20 69 73 20 74 |ml, as t|his is t|
|000008a0| 68 65 20 6d 6f 6d 65 6e | 74 61 72 79 20 70 6f 73 |he momen|tary pos|
|000008b0| 69 74 69 6f 6e 20 66 72 | 6f 6d 0a 20 20 74 68 65 |ition fr|om. the|
|000008c0| 20 74 6f 70 2d 6c 65 76 | 65 6c 20 64 69 72 65 63 | top-lev|el direc|
|000008d0| 74 6f 72 79 20 6f 66 20 | 74 68 65 20 43 4c 74 4c |tory of |the CLtL|
|000008e0| 32 2d 68 6f 6d 65 2e 20 | 44 65 66 61 75 6c 74 73 |2-home. |Defaults|
|000008f0| 20 74 6f 20 63 6c 6d 2f | 69 6e 64 65 78 2e 68 74 | to clm/|index.ht|
|00000900| 6d 6c 2e 0a 20 20 4e 6f | 74 65 20 74 68 61 74 20 |ml.. No|te that |
|00000910| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 6c 65 61 64 |there is| no lead|
|00000920| 69 6e 67 20 2f 2e 1f 0a | 28 64 65 66 63 6f 6e 73 |ing /...|(defcons|
|00000930| 74 20 2a 63 6c 74 6c 32 | 2d 69 6e 64 65 78 2d 66 |t *cltl2|-index-f|
|00000940| 69 6c 65 2d 6e 61 6d 65 | 2a 20 22 63 6c 6d 2f 69 |ile-name|* "clm/i|
|00000950| 6e 64 65 78 2e 68 74 6d | 6c 22 20 28 23 24 20 2e |ndex.htm|l" (#$ .|
|00000960| 20 32 31 30 32 29 29 0a | 23 40 35 38 20 54 68 65 | 2102)).|#@58 The|
|00000970| 20 61 62 73 6f 6c 75 74 | 65 20 70 61 74 68 20 77 | absolut|e path w|
|00000980| 68 69 63 68 20 77 69 6c | 6c 20 62 65 20 75 73 65 |hich wil|l be use|
|00000990| 64 20 74 6f 20 66 65 74 | 63 68 20 74 68 65 20 69 |d to fet|ch the i|
|000009a0| 6e 64 65 78 2e 1f 0a 28 | 64 65 66 76 61 72 20 2a |ndex...(|defvar *|
|000009b0| 63 6c 74 6c 32 2d 69 6e | 64 65 78 2d 68 6f 6d 65 |cltl2-in|dex-home|
|000009c0| 2a 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 09 |* (byte-|code "..|
|000009d0| c2 73 ab 83 0b aa 8f 09 | c4 73 ab 83 0b aa 87 09 |.s......|.s......|
|000009e0| c5 73 ad 82 0e 06 0e 07 | 44 1e 08 89 1e 09 ca 61 |.s......|D......a|
|000009f0| ab 87 cb cc 0e 08 5c 22 | aa a2 0e 09 c0 61 ab 87 |......\"|.....a..|
|00000a00| cb cd 0e 08 5c 22 aa 95 | 0e 09 ce 61 ab 8a cb cf |....\"..|...a....|
|00000a10| 89 0e 08 d0 5c 22 5c 22 | aa 85 d1 d2 0e 09 5c 22 |....\"\"|......\"|
|00000a20| 2a 87 22 20 5b 73 74 72 | 69 6e 67 20 2a 63 6c 74 |*." [str|ing *clt|
|00000a30| 6c 32 2d 66 65 74 63 68 | 2d 6d 65 74 68 6f 64 2a |l2-fetch|-method*|
|00000a40| 20 27 6c 6f 63 61 6c 20 | 2a 63 6c 74 6c 32 2d 6c | 'local |*cltl2-l|
|00000a50| 6f 63 61 6c 2d 66 69 6c | 65 2d 70 6f 73 2a 20 27 |ocal-fil|e-pos* '|
|00000a60| 6c 6f 63 61 6c 2d 69 6e | 64 65 78 2d 6f 6e 6c 79 |local-in|dex-only|
|00000a70| 20 27 77 77 77 20 2a 63 | 6c 74 6c 32 2d 75 72 6c | 'www *c|ltl2-url|
|00000a80| 2a 20 2a 63 6c 74 6c 32 | 2d 69 6e 64 65 78 2d 66 |* *cltl2|-index-f|
|00000a90| 69 6c 65 2d 6e 61 6d 65 | 2a 20 73 65 71 73 20 74 |ile-name|* seqs t|
|00000aa0| 79 70 65 20 76 65 63 74 | 6f 72 20 61 70 70 6c 79 |ype vect|or apply|
|00000ab0| 20 76 63 6f 6e 63 61 74 | 20 63 6f 6e 63 61 74 20 | vconcat| concat |
|00000ac0| 6c 69 73 74 20 61 70 70 | 65 6e 64 20 28 6e 69 6c |list app|end (nil|
|00000ad0| 29 20 65 72 72 6f 72 20 | 22 4e 6f 74 20 61 20 73 |) error |"Not a s|
|00000ae0| 65 71 75 65 6e 63 65 20 | 74 79 70 65 20 6e 61 6d |equence |type nam|
|00000af0| 65 3a 20 25 73 22 5d 20 | 36 29 20 28 23 24 20 2e |e: %s"] |6) (#$ .|
|00000b00| 20 32 34 31 33 29 29 0a | 23 40 31 33 39 20 54 68 | 2413)).|#@139 Th|
|00000b10| 69 73 20 73 70 65 63 69 | 66 69 65 73 20 74 68 65 |is speci|fies the|
|00000b20| 20 68 6f 6d 65 2d 70 6f | 73 69 74 69 6f 6e 20 6f | home-po|sition o|
|00000b30| 66 20 74 68 65 20 43 4c | 74 4c 32 2e 20 54 68 65 |f the CL|tL2. The|
|00000b40| 20 76 61 6c 75 65 20 6f | 66 20 74 68 69 73 20 76 | value o|f this v|
|00000b50| 61 72 69 61 62 6c 65 0a | 20 20 77 69 6c 6c 20 62 |ariable.| will b|
|00000b60| 65 20 63 6f 6e 63 61 74 | 65 6e 61 74 65 64 20 77 |e concat|enated w|
|00000b70| 69 74 68 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |ith the |name of |
|00000b80| 74 68 65 20 6e 6f 64 65 | 73 20 6f 66 20 74 68 65 |the node|s of the|
|00000b90| 20 43 4c 74 4c 32 2e 1f | 0a 28 64 65 66 76 61 72 | CLtL2..|.(defvar|
|00000ba0| 20 2a 63 6c 74 6c 32 2d | 68 6f 6d 65 2a 20 28 62 | *cltl2-|home* (b|
|00000bb0| 79 74 65 2d 63 6f 64 65 | 20 22 c0 09 c2 73 ab 83 |yte-code| "...s..|
|00000bc0| 0b aa 8e 09 c4 73 ab 83 | 0d aa 86 09 c6 73 ad 81 |.....s..|.....s..|
|00000bd0| 0d c7 44 1e 08 89 1e 09 | ca 61 ab 87 cb cc 0e 08 |..D.....|.a......|
|00000be0| 5c 22 aa a2 0e 09 c0 61 | ab 87 cb cd 0e 08 5c 22 |\".....a|......\"|
|00000bf0| aa 95 0e 09 ce 61 ab 8a | cb cf 89 0e 08 d0 5c 22 |.....a..|......\"|
|00000c00| 5c 22 aa 85 d1 d2 0e 09 | 5c 22 2a 87 22 20 5b 73 |\"......|\"*." [s|
|00000c10| 74 72 69 6e 67 20 2a 63 | 6c 74 6c 32 2d 66 65 74 |tring *c|ltl2-fet|
|00000c20| 63 68 2d 6d 65 74 68 6f | 64 2a 20 27 6c 6f 63 61 |ch-metho|d* 'loca|
|00000c30| 6c 20 2a 63 6c 74 6c 32 | 2d 6c 6f 63 61 6c 2d 66 |l *cltl2|-local-f|
|00000c40| 69 6c 65 2d 70 6f 73 2a | 20 27 6c 6f 63 61 6c 2d |ile-pos*| 'local-|
|00000c50| 69 6e 64 65 78 2d 6f 6e | 6c 79 20 2a 63 6c 74 6c |index-on|ly *cltl|
|00000c60| 32 2d 75 72 6c 2a 20 27 | 77 77 77 20 22 63 6c 6d |2-url* '|www "clm|
|00000c70| 2f 22 20 73 65 71 73 20 | 74 79 70 65 20 76 65 63 |/" seqs |type vec|
|00000c80| 74 6f 72 20 61 70 70 6c | 79 20 76 63 6f 6e 63 61 |tor appl|y vconca|
|00000c90| 74 20 63 6f 6e 63 61 74 | 20 6c 69 73 74 20 61 70 |t concat| list ap|
|00000ca0| 70 65 6e 64 20 28 6e 69 | 6c 29 20 65 72 72 6f 72 |pend (ni|l) error|
|00000cb0| 20 22 4e 6f 74 20 61 20 | 73 65 71 75 65 6e 63 65 | "Not a |sequence|
|00000cc0| 20 74 79 70 65 20 6e 61 | 6d 65 3a 20 25 73 22 5d | type na|me: %s"]|
|00000cd0| 20 36 29 20 28 23 24 20 | 2e 20 32 38 33 30 29 29 | 6) (#$ |. 2830))|
|00000ce0| 0a 23 40 35 37 20 54 68 | 65 20 6e 61 6d 65 20 6f |.#@57 Th|e name o|
|00000cf0| 66 20 74 68 65 20 62 75 | 66 66 65 72 20 77 68 69 |f the bu|ffer whi|
|00000d00| 63 68 20 68 6f 6c 64 73 | 20 74 68 65 20 69 6e 64 |ch holds| the ind|
|00000d10| 65 78 20 66 6f 72 20 43 | 4c 74 4c 32 2e 1f 0a 28 |ex for C|LtL2...(|
|00000d20| 64 65 66 76 61 72 20 2a | 63 6c 74 6c 32 2d 69 6e |defvar *|cltl2-in|
|00000d30| 64 65 78 2d 62 75 66 66 | 65 72 2d 6e 61 6d 65 2a |dex-buff|er-name*|
|00000d40| 20 22 2a 63 6c 74 6c 32 | 2d 69 6e 64 65 78 2a 22 | "*cltl2|-index*"|
|00000d50| 20 28 23 24 20 2e 20 33 | 33 30 32 29 29 0a 23 40 | (#$ . 3|302)).#@|
|00000d60| 33 34 37 20 4f 6c 64 65 | 72 20 76 65 72 73 69 6f |347 Olde|r versio|
|00000d70| 6e 73 20 6f 66 20 45 6d | 61 63 73 20 28 61 74 20 |ns of Em|acs (at |
|00000d80| 6c 65 61 73 74 20 58 45 | 6d 61 63 73 20 31 39 2e |least XE|macs 19.|
|00000d90| 31 31 29 20 64 6f 6e 27 | 74 20 73 75 70 70 6f 72 |11) don'|t suppor|
|00000da0| 74 20 74 68 65 0a 20 6f | 70 74 69 6f 6e 20 52 41 |t the. o|ption RA|
|00000db0| 57 46 49 4c 45 20 77 69 | 74 68 20 74 68 65 20 66 |WFILE wi|th the f|
|00000dc0| 75 6e 63 74 69 6f 6e 20 | 46 49 4e 44 2d 46 49 4c |unction |FIND-FIL|
|00000dd0| 45 2d 4e 4f 2d 53 45 4c | 45 43 54 2e 20 53 65 74 |E-NO-SEL|ECT. Set|
|00000de0| 20 74 68 69 73 20 76 61 | 72 69 61 62 6c 65 0a 20 | this va|riable. |
|00000df0| 74 6f 20 27 74 20 69 66 | 20 79 6f 75 20 68 61 76 |to 't if| you hav|
|00000e00| 65 20 73 75 63 68 20 61 | 6e 20 6f 6c 64 20 76 65 |e such a|n old ve|
|00000e10| 72 73 69 6f 6e 2e 20 49 | 74 20 77 69 6c 6c 20 63 |rsion. I|t will c|
|00000e20| 61 75 73 65 20 66 6f 6e | 74 69 66 69 63 61 74 69 |ause fon|tificati|
|00000e30| 6f 6e 20 61 6e 64 0a 20 | 6f 74 68 65 72 20 75 73 |on and. |other us|
|00000e40| 65 6c 65 73 73 20 73 74 | 75 66 66 20 6f 6e 20 74 |eless st|uff on t|
|00000e50| 68 65 20 62 75 66 66 65 | 72 20 69 6e 20 77 68 69 |he buffe|r in whi|
|00000e60| 63 68 20 74 68 65 20 69 | 6e 64 65 78 20 69 73 20 |ch the i|ndex is |
|00000e70| 66 65 74 63 68 65 64 2e | 20 49 66 0a 20 79 6f 75 |fetched.| If. you|
|00000e80| 20 64 6f 6e 27 74 20 75 | 73 65 20 61 20 6c 6f 63 | don't u|se a loc|
|00000e90| 61 6c 20 63 6f 70 79 20 | 28 6f 66 20 74 68 65 20 |al copy |(of the |
|00000ea0| 69 6e 64 65 78 29 20 74 | 68 69 73 20 77 6f 6e 27 |index) t|his won'|
|00000eb0| 74 20 62 6f 74 68 65 72 | 20 79 6f 75 2e 1f 0a 28 |t bother| you...(|
|00000ec0| 64 65 66 76 61 72 20 2a | 63 6c 74 6c 32 2d 6f 6c |defvar *|cltl2-ol|
|00000ed0| 64 2d 66 69 6e 64 2d 66 | 69 6c 65 2d 6e 6f 73 65 |d-find-f|ile-nose|
|00000ee0| 6c 65 63 74 2a 20 6e 69 | 6c 20 28 23 24 20 2e 20 |lect* ni|l (#$ . |
|00000ef0| 33 34 32 38 29 29 0a 23 | 40 39 32 20 53 68 6f 72 |3428)).#|@92 Shor|
|00000f00| 74 63 75 74 20 66 6f 72 | 20 61 63 63 65 73 73 69 |tcut for| accessi|
|00000f10| 6e 67 20 63 6c 74 6c 32 | 2d 76 69 65 77 2d 66 75 |ng cltl2|-view-fu|
|00000f20| 6e 63 74 69 6f 6e 2d 64 | 65 66 69 6e 69 74 69 6f |nction-d|efinitio|
|00000f30| 6e 2e 20 55 73 65 20 6d | 65 61 6e 69 6e 67 66 75 |n. Use m|eaningfu|
|00000f40| 6c 0a 20 73 65 74 74 69 | 6e 67 20 77 69 74 68 20 |l. setti|ng with |
|00000f50| 49 6c 69 73 70 2e 1f 0a | 28 64 65 66 76 61 72 20 |Ilisp...|(defvar |
|00000f60| 2a 63 6c 74 6c 32 2d 76 | 66 64 2d 6b 65 79 2a 20 |*cltl2-v|fd-key* |
|00000f70| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 21 ab |(byte-co|de "..!.|
|00000f80| 82 c2 87 c3 87 22 20 5b | 66 65 61 74 75 72 65 70 |....." [|featurep|
|00000f90| 20 69 6c 69 73 70 20 5b | 28 63 6f 6e 74 72 6f 6c | ilisp [|(control|
|00000fa0| 20 7a 29 20 68 5d 20 5b | 28 63 6f 6e 74 72 6f 6c | z) h] [|(control|
|00000fb0| 20 63 29 20 62 5d 5d 20 | 32 29 20 28 23 24 20 2e | c) b]] |2) (#$ .|
|00000fc0| 20 33 38 33 36 29 29 0a | 23 40 37 38 20 53 68 6f | 3836)).|#@78 Sho|
|00000fd0| 72 74 63 75 74 20 66 6f | 72 20 61 63 63 65 73 73 |rtcut fo|r access|
|00000fe0| 69 6e 67 20 63 6c 74 6c | 32 2d 76 69 65 77 2d 69 |ing cltl|2-view-i|
|00000ff0| 6e 64 65 78 2e 20 55 73 | 65 20 6d 65 61 6e 69 6e |ndex. Us|e meanin|
|00001000| 67 66 75 6c 0a 20 73 65 | 74 74 69 6e 67 20 77 69 |gful. se|tting wi|
|00001010| 74 68 20 49 6c 69 73 70 | 2e 1f 0a 28 64 65 66 76 |th Ilisp|...(defv|
|00001020| 61 72 20 2a 63 6c 74 6c | 32 2d 76 69 2d 6b 65 79 |ar *cltl|2-vi-key|
|00001030| 2a 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |* (byte-|code "..|
|00001040| 21 ab 82 c2 87 c3 87 22 | 20 5b 66 65 61 74 75 72 |!......"| [featur|
|00001050| 65 70 20 69 6c 69 73 70 | 20 5b 28 63 6f 6e 74 72 |ep ilisp| [(contr|
|00001060| 6f 6c 20 7a 29 20 48 5d | 20 5b 28 63 6f 6e 74 72 |ol z) H]| [(contr|
|00001070| 6f 6c 20 63 29 20 42 5d | 5d 20 32 29 20 28 23 24 |ol c) B]|] 2) (#$|
|00001080| 20 2e 20 34 30 34 35 29 | 29 0a 28 62 79 74 65 2d | . 4045)|).(byte-|
|00001090| 63 6f 64 65 20 22 c0 c1 | 21 ac 84 c2 c3 21 11 c1 |code "..|!....!..|
|000010a0| 0c 42 14 c0 87 22 20 5b | 62 6f 75 6e 64 70 20 2a |.B..." [|boundp *|
|000010b0| 62 72 6f 77 73 65 2d 63 | 6c 74 6c 32 2d 68 74 2a |browse-c|ltl2-ht*|
|000010c0| 20 6d 61 6b 65 2d 68 61 | 73 68 2d 74 61 62 6c 65 | make-ha|sh-table|
|000010d0| 20 30 20 63 75 72 72 65 | 6e 74 2d 6c 6f 61 64 2d | 0 curre|nt-load-|
|000010e0| 6c 69 73 74 5d 20 32 29 | 0a 23 40 31 38 35 20 41 |list] 2)|.#@185 A|
|000010f0| 20 72 65 67 75 6c 61 72 | 20 65 78 70 72 65 73 73 | regular| express|
|00001100| 69 6f 6e 20 68 6f 77 20 | 74 6f 20 63 68 65 63 6b |ion how |to check|
|00001110| 20 66 6f 72 20 65 6e 74 | 72 69 65 73 20 69 6e 20 | for ent|ries in |
|00001120| 74 68 65 20 69 6e 64 65 | 78 2d 66 69 6c 65 0a 20 |the inde|x-file. |
|00001130| 20 6f 66 20 43 4c 74 4c | 32 2e 20 4e 6f 74 65 20 | of CLtL|2. Note |
|00001140| 74 68 61 74 20 79 6f 75 | 20 68 61 76 65 20 74 6f |that you| have to|
|00001150| 20 6d 6f 64 69 66 79 20 | 74 68 69 73 20 61 6e 64 | modify |this and|
|00001160| 20 74 68 65 20 0a 20 20 | 70 72 65 70 61 72 65 2d | the . |prepare-|
|00001170| 67 65 74 2d 65 6e 74 72 | 79 2a 2d 66 75 6e 63 74 |get-entr|y*-funct|
|00001180| 69 6f 6e 73 20 69 66 20 | 79 6f 75 20 77 61 6e 74 |ions if |you want|
|00001190| 20 74 6f 20 63 68 61 6e | 67 65 20 74 68 65 20 73 | to chan|ge the s|
|000011a0| 65 61 72 63 68 2e 1f 0a | 28 64 65 66 63 6f 6e 73 |earch...|(defcons|
|000011b0| 74 20 2a 63 6c 74 6c 32 | 2d 73 65 61 72 63 68 2d |t *cltl2|-search-|
|000011c0| 72 65 67 65 78 70 72 2a | 20 22 3c 61 20 68 72 65 |regexpr*| "<a hre|
|000011d0| 66 3d 5c 22 5c 5c 28 2e | 2b 5c 5c 29 5c 22 3e 3c |f=\"\\(.|+\\)\"><|
|000011e0| 63 6f 64 65 3e 5c 5c 28 | 2e 2b 5c 5c 29 3c 2f 63 |code>\\(|.+\\)</c|
|000011f0| 6f 64 65 3e 3c 2f 61 3e | 22 20 28 23 24 20 2e 20 |ode></a>|" (#$ . |
|00001200| 34 33 33 35 29 29 0a 28 | 62 79 74 65 2d 63 6f 64 |4335)).(|byte-cod|
|00001210| 65 20 22 c0 c1 21 ac 84 | c1 c2 4d 88 c0 c3 21 ac |e "..!..|..M...!.|
|00001220| 84 c3 c4 4d 88 c5 c6 0e | 07 5c 22 ab 89 c0 c8 21 |...M....|.\"....!|
|00001230| ac 84 c8 c9 4d 88 0e 5c | 6e ab 8d cb cc 21 ac 88 |....M..\|n....!..|
|00001240| cd 4b 16 0c cd ce 4d 88 | c0 87 22 20 5b 66 62 6f |.K....M.|.." [fbo|
|00001250| 75 6e 64 70 20 6d 61 74 | 63 68 2d 73 74 72 69 6e |undp mat|ch-strin|
|00001260| 67 20 23 5b 28 6e 75 6d | 20 26 6f 70 74 69 6f 6e |g #[(num| &option|
|00001270| 61 6c 20 73 74 72 69 6e | 67 29 20 22 08 94 ad 8f |al strin|g) "....|
|00001280| 09 ab 87 09 08 94 08 95 | 4f 87 08 94 08 95 7b 87 |........|O.....{.|
|00001290| 22 20 5b 6e 75 6d 20 73 | 74 72 69 6e 67 5d 20 33 |" [num s|tring] 3|
|000012a0| 20 22 52 65 74 75 72 6e | 20 73 74 72 69 6e 67 20 | "Return| string |
|000012b0| 6f 66 20 74 65 78 74 20 | 6d 61 74 63 68 65 64 20 |of text |matched |
|000012c0| 62 79 20 6c 61 73 74 20 | 73 65 61 72 63 68 2e 5c |by last |search.\|
|000012d0| 6e 20 4e 55 4d 20 73 70 | 65 63 69 66 69 65 73 20 |n NUM sp|ecifies |
|000012e0| 77 68 69 63 68 20 70 61 | 72 65 6e 74 68 65 73 69 |which pa|renthesi|
|000012f0| 7a 65 64 20 65 78 70 72 | 65 73 73 69 6f 6e 20 69 |zed expr|ession i|
|00001300| 6e 20 74 68 65 20 6c 61 | 73 74 20 72 65 67 65 78 |n the la|st regex|
|00001310| 70 2e 5c 6e 20 56 61 6c | 75 65 20 69 73 20 6e 69 |p.\n Val|ue is ni|
|00001320| 6c 20 69 66 20 4e 55 4d | 74 68 20 70 61 69 72 20 |l if NUM|th pair |
|00001330| 64 69 64 6e 27 74 20 6d | 61 74 63 68 2c 20 6f 72 |didn't m|atch, or|
|00001340| 20 74 68 65 72 65 20 77 | 65 72 65 20 6c 65 73 73 | there w|ere less|
|00001350| 20 74 68 61 6e 20 4e 55 | 4d 20 70 61 69 72 73 2e | than NU|M pairs.|
|00001360| 5c 6e 20 5a 65 72 6f 20 | 6d 65 61 6e 73 20 74 68 |\n Zero |means th|
|00001370| 65 20 65 6e 74 69 72 65 | 20 74 65 78 74 20 6d 61 |e entire| text ma|
|00001380| 74 63 68 65 64 20 62 79 | 20 74 68 65 20 77 68 6f |tched by| the who|
|00001390| 6c 65 20 72 65 67 65 78 | 70 20 6f 72 20 77 68 6f |le regex|p or who|
|000013a0| 6c 65 20 73 74 72 69 6e | 67 2e 5c 6e 20 53 54 52 |le strin|g.\n STR|
|000013b0| 49 4e 47 20 73 68 6f 75 | 6c 64 20 62 65 20 67 69 |ING shou|ld be gi|
|000013c0| 76 65 6e 20 69 66 20 74 | 68 65 20 6c 61 73 74 20 |ven if t|he last |
|000013d0| 73 65 61 72 63 68 20 77 | 61 73 20 62 79 20 60 73 |search w|as by `s|
|000013e0| 74 72 69 6e 67 2d 6d 61 | 74 63 68 27 20 6f 6e 20 |tring-ma|tch' on |
|000013f0| 53 54 52 49 4e 47 2e 22 | 5d 20 62 75 66 66 65 72 |STRING."|] buffer|
|00001400| 2d 6c 69 76 65 2d 70 20 | 23 5b 28 62 75 66 2d 6f |-live-p |#[(buf-o|
|00001410| 72 2d 6e 61 6d 65 29 20 | 22 c0 09 21 ab 83 09 aa |r-name) |"..!....|
|00001420| 83 c2 09 21 1b c0 0b 21 | ad 83 c4 0b 21 29 87 22 |...!...!|....!)."|
|00001430| 20 5b 62 75 66 66 65 72 | 70 20 62 75 66 2d 6f 72 | [buffer|p buf-or|
|00001440| 2d 6e 61 6d 65 20 67 65 | 74 2d 62 75 66 66 65 72 |-name ge|t-buffer|
|00001450| 20 6f 62 6a 65 63 74 20 | 62 75 66 66 65 72 2d 6e | object |buffer-n|
|00001460| 61 6d 65 5d 20 32 20 22 | 43 68 65 63 6b 73 20 69 |ame] 2 "|Checks i|
|00001470| 66 20 42 55 46 2d 4f 52 | 2d 4e 41 4d 45 20 69 73 |f BUF-OR|-NAME is|
|00001480| 20 61 20 6c 69 76 65 20 | 62 75 66 66 65 72 2e 20 | a live |buffer. |
|00001490| 52 65 74 75 72 6e 73 20 | 6e 6f 6e 2d 6e 69 6c 5c |Returns |non-nil\|
|000014a0| 6e 20 69 66 20 42 4f 46 | 2d 4f 52 2d 4e 41 4d 45 |n if BOF|-OR-NAME|
|000014b0| 20 69 73 20 61 6e 20 65 | 64 69 74 6f 72 20 62 75 | is an e|ditor bu|
|000014c0| 66 66 65 72 20 77 68 69 | 63 68 20 68 61 73 20 6e |ffer whi|ch has n|
|000014d0| 6f 74 20 62 65 65 6e 20 | 64 65 6c 65 74 65 64 2e |ot been |deleted.|
|000014e0| 5c 6e 20 49 6d 69 74 61 | 74 69 6e 67 20 61 20 62 |\n Imita|ting a b|
|000014f0| 75 69 6c 74 2d 69 6e 20 | 66 75 6e 63 74 69 6f 6e |uilt-in |function|
|00001500| 20 66 72 6f 6d 20 6e 65 | 77 65 72 20 45 6d 61 63 | from ne|wer Emac|
|00001510| 73 20 76 65 72 73 69 6f | 6e 73 2e 22 5d 20 73 74 |s versio|ns."] st|
|00001520| 72 69 6e 67 2d 6d 61 74 | 63 68 20 22 58 45 6d 61 |ring-mat|ch "XEma|
|00001530| 63 73 5c 5c 7c 4c 75 63 | 69 64 22 20 65 6d 61 63 |cs\\|Luc|id" emac|
|00001540| 73 2d 76 65 72 73 69 6f | 6e 20 61 64 64 2d 73 75 |s-versio|n add-su|
|00001550| 62 6d 65 6e 75 20 23 5b | 28 6d 65 6e 75 2d 70 61 |bmenu #[|(menu-pa|
|00001560| 74 68 20 73 75 62 6d 65 | 6e 75 20 26 6f 70 74 69 |th subme|nu &opti|
|00001570| 6f 6e 61 6c 20 62 65 66 | 6f 72 65 29 20 22 c0 09 |onal bef|ore) "..|
|00001580| 5c 6e 40 5c 6e 41 0b 24 | 87 22 20 5b 61 64 64 2d |\n@\nA.$|." [add-|
|00001590| 6d 65 6e 75 20 6d 65 6e | 75 2d 70 61 74 68 20 73 |menu men|u-path s|
|000015a0| 75 62 6d 65 6e 75 20 62 | 65 66 6f 72 65 5d 20 35 |ubmenu b|efore] 5|
|000015b0| 20 22 41 64 64 20 61 20 | 6d 65 6e 75 20 74 6f 20 | "Add a |menu to |
|000015c0| 74 68 65 20 6d 65 6e 75 | 62 61 72 20 6f 72 20 6f |the menu|bar or o|
|000015d0| 6e 65 20 6f 66 20 69 74 | 73 20 73 75 62 6d 65 6e |ne of it|s submen|
|000015e0| 75 73 2e 5c 6e 49 66 20 | 74 68 65 20 6e 61 6d 65 |us.\nIf |the name|
|000015f0| 64 20 6d 65 6e 75 20 65 | 78 69 73 74 73 20 61 6c |d menu e|xists al|
|00001600| 72 65 61 64 79 2c 20 69 | 74 20 69 73 20 63 68 61 |ready, i|t is cha|
|00001610| 6e 67 65 64 2e 5c 6e 4d | 45 4e 55 2d 50 41 54 48 |nged.\nM|ENU-PATH|
|00001620| 20 69 64 65 6e 74 69 66 | 69 65 73 20 74 68 65 20 | identif|ies the |
|00001630| 6d 65 6e 75 20 75 6e 64 | 65 72 20 77 68 69 63 68 |menu und|er which|
|00001640| 20 74 68 65 20 6e 65 77 | 20 6d 65 6e 75 20 73 68 | the new| menu sh|
|00001650| 6f 75 6c 64 20 62 65 20 | 69 6e 73 65 72 74 65 64 |ould be |inserted|
|00001660| 2e 5c 6e 20 49 74 20 69 | 73 20 61 20 6c 69 73 74 |.\n It i|s a list|
|00001670| 20 6f 66 20 73 74 72 69 | 6e 67 73 3b 20 66 6f 72 | of stri|ngs; for|
|00001680| 20 65 78 61 6d 70 6c 65 | 2c 20 28 5c 22 46 69 6c | example|, (\"Fil|
|00001690| 65 5c 22 29 20 6e 61 6d | 65 73 20 74 68 65 20 74 |e\") nam|es the t|
|000016a0| 6f 70 2d 6c 65 76 65 6c | 20 5c 22 46 69 6c 65 5c |op-level| \"File\|
|000016b0| 22 5c 6e 20 6d 65 6e 75 | 2e 20 20 28 5c 22 46 69 |"\n menu|. (\"Fi|
|000016c0| 6c 65 5c 22 20 5c 22 46 | 6f 6f 5c 22 29 20 6e 61 |le\" \"F|oo\") na|
|000016d0| 6d 65 73 20 61 20 68 79 | 70 6f 74 68 65 74 69 63 |mes a hy|pothetic|
|000016e0| 61 6c 20 73 75 62 6d 65 | 6e 75 20 6f 66 20 5c 22 |al subme|nu of \"|
|000016f0| 46 69 6c 65 5c 22 2e 5c | 6e 20 49 66 20 4d 45 4e |File\".\|n If MEN|
|00001700| 55 2d 50 41 54 48 20 69 | 73 20 6e 69 6c 2c 20 74 |U-PATH i|s nil, t|
|00001710| 68 65 6e 20 74 68 65 20 | 6d 65 6e 75 20 77 69 6c |hen the |menu wil|
|00001720| 6c 20 62 65 20 61 64 64 | 65 64 20 74 6f 20 74 68 |l be add|ed to th|
|00001730| 65 20 6d 65 6e 75 62 61 | 72 20 69 74 73 65 6c 66 |e menuba|r itself|
|00001740| 2e 5c 6e 53 55 42 4d 45 | 4e 55 20 69 73 20 74 68 |.\nSUBME|NU is th|
|00001750| 65 20 6e 65 77 20 6d 65 | 6e 75 20 74 6f 20 61 64 |e new me|nu to ad|
|00001760| 64 2e 5c 6e 20 53 65 65 | 20 74 68 65 20 64 6f 63 |d.\n See| the doc|
|00001770| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 6f 66 20 60 63 |umentati|on of `c|
|00001780| 75 72 72 65 6e 74 2d 6d | 65 6e 75 62 61 72 27 20 |urrent-m|enubar' |
|00001790| 66 6f 72 20 74 68 65 20 | 73 79 6e 74 61 78 2e 5c |for the |syntax.\|
|000017a0| 6e 42 45 46 4f 52 45 2c | 20 69 66 20 70 72 6f 76 |nBEFORE,| if prov|
|000017b0| 69 64 65 64 2c 20 69 73 | 20 74 68 65 20 6e 61 6d |ided, is| the nam|
|000017c0| 65 20 6f 66 20 61 20 6d | 65 6e 75 20 62 65 66 6f |e of a m|enu befo|
|000017d0| 72 65 20 77 68 69 63 68 | 20 74 68 69 73 20 6d 65 |re which| this me|
|000017e0| 6e 75 20 73 68 6f 75 6c | 64 5c 6e 20 62 65 20 61 |nu shoul|d\n be a|
|000017f0| 64 64 65 64 2c 20 69 66 | 20 74 68 69 73 20 6d 65 |dded, if| this me|
|00001800| 6e 75 20 69 73 20 6e 6f | 74 20 6f 6e 20 69 74 73 |nu is no|t on its|
|00001810| 20 70 61 72 65 6e 74 20 | 61 6c 72 65 61 64 79 2e | parent |already.|
|00001820| 20 20 49 66 20 74 68 65 | 20 6d 65 6e 75 20 69 73 | If the| menu is|
|00001830| 20 61 6c 72 65 61 64 79 | 5c 6e 20 70 72 65 73 65 | already|\n prese|
|00001840| 6e 74 2c 20 69 74 20 77 | 69 6c 6c 20 6e 6f 74 20 |nt, it w|ill not |
|00001850| 62 65 20 6d 6f 76 65 64 | 2e 22 5d 20 2a 63 6c 74 |be moved|."] *clt|
|00001860| 6c 32 2d 6f 6c 64 2d 66 | 69 6e 64 2d 66 69 6c 65 |l2-old-f|ind-file|
|00001870| 2d 6e 6f 73 65 6c 65 63 | 74 2a 20 62 6f 75 6e 64 |-noselec|t* bound|
|00001880| 70 20 63 6c 74 6c 32 2d | 6f 6c 64 2d 66 69 6e 64 |p cltl2-|old-find|
|00001890| 2d 66 69 6c 65 2d 6e 6f | 73 65 6c 65 63 74 2d 66 |-file-no|select-f|
|000018a0| 75 6e 63 20 66 69 6e 64 | 2d 66 69 6c 65 2d 6e 6f |unc find|-file-no|
|000018b0| 73 65 6c 65 63 74 20 23 | 5b 28 66 69 6c 65 20 26 |select #|[(file &|
|000018c0| 6f 70 74 69 6f 6e 61 6c | 20 6e 6f 77 61 72 6e 20 |optional| nowarn |
|000018d0| 72 61 77 66 69 6c 65 29 | 20 22 08 09 5c 6e 5c 22 |rawfile)| "..\n\"|
|000018e0| 87 22 20 5b 63 6c 74 6c | 32 2d 6f 6c 64 2d 66 69 |." [cltl|2-old-fi|
|000018f0| 6e 64 2d 66 69 6c 65 2d | 6e 6f 73 65 6c 65 63 74 |nd-file-|noselect|
|00001900| 2d 66 75 6e 63 20 66 69 | 6c 65 20 6e 6f 77 61 72 |-func fi|le nowar|
|00001910| 6e 5d 20 33 5d 5d 20 33 | 29 0a 23 40 39 30 20 46 |n] 3]] 3|).#@90 F|
|00001920| 65 74 63 68 65 73 20 74 | 68 65 20 69 6e 64 65 78 |etches t|he index|
|00001930| 20 70 61 67 65 20 6f 66 | 20 74 68 65 20 43 4c 74 | page of| the CLt|
|00001940| 6c 32 20 61 6e 64 20 70 | 75 74 73 20 69 74 20 69 |l2 and p|uts it i|
|00001950| 6e 20 69 74 73 20 6f 77 | 6e 0a 20 62 75 66 66 65 |n its ow|n. buffe|
|00001960| 72 20 63 61 6c 6c 65 64 | 20 2a 63 6c 74 6c 32 2d |r called| *cltl2-|
|00001970| 69 6e 64 65 78 2a 2e 1f | 0a 28 64 65 66 61 6c 69 |index*..|.(defali|
|00001980| 61 73 20 27 63 6c 74 6c | 32 2d 66 65 74 63 68 2d |as 'cltl|2-fetch-|
|00001990| 69 6e 64 65 78 20 23 5b | 6e 69 6c 20 22 c0 09 21 |index #[|nil "..!|
|000019a0| ab 85 c2 09 21 ac a0 c3 | c4 21 88 0d c6 73 ab 85 |....!...|.!...s..|
|000019b0| c7 20 88 aa 92 0d c8 73 | ab 85 c7 20 88 aa 88 0d |. .....s|... ....|
|000019c0| c9 73 ab 83 ca 20 88 cb | 20 87 22 20 5b 67 65 74 |.s... ..| ." [get|
|000019d0| 2d 62 75 66 66 65 72 20 | 2a 63 6c 74 6c 32 2d 69 |-buffer |*cltl2-i|
|000019e0| 6e 64 65 78 2d 62 75 66 | 66 65 72 2d 6e 61 6d 65 |ndex-buf|fer-name|
|000019f0| 2a 20 62 75 66 66 65 72 | 2d 6c 69 76 65 2d 70 20 |* buffer|-live-p |
|00001a00| 6d 65 73 73 61 67 65 20 | 22 46 65 74 63 68 69 6e |message |"Fetchin|
|00001a10| 67 20 74 68 65 20 43 4c | 74 4c 32 20 69 6e 64 65 |g the CL|tL2 inde|
|00001a20| 78 20 66 69 6c 65 20 2e | 2e 2e 22 20 2a 63 6c 74 |x file .|.." *clt|
|00001a30| 6c 32 2d 66 65 74 63 68 | 2d 6d 65 74 68 6f 64 2a |l2-fetch|-method*|
|00001a40| 20 27 6c 6f 63 61 6c 20 | 63 6c 74 6c 32 2d 66 65 | 'local |cltl2-fe|
|00001a50| 74 63 68 2d 69 6e 64 65 | 78 2d 62 79 2d 66 69 6c |tch-inde|x-by-fil|
|00001a60| 65 20 27 6c 6f 63 61 6c | 2d 69 6e 64 65 78 2d 6f |e 'local|-index-o|
|00001a70| 6e 6c 79 20 27 77 77 77 | 20 63 6c 74 6c 32 2d 66 |nly 'www| cltl2-f|
|00001a80| 65 74 63 68 2d 69 6e 64 | 65 78 2d 62 79 2d 77 77 |etch-ind|ex-by-ww|
|00001a90| 77 20 63 6c 74 6c 32 2d | 70 72 65 70 61 72 65 2d |w cltl2-|prepare-|
|00001aa0| 69 6e 64 65 78 5d 20 32 | 20 28 23 24 20 2e 20 36 |index] 2| (#$ . 6|
|00001ab0| 34 33 31 29 5d 29 0a 23 | 40 32 38 20 46 65 74 63 |431)]).#|@28 Fetc|
|00001ac0| 68 20 74 68 65 20 69 6e | 64 65 78 20 66 72 6f 6d |h the in|dex from|
|00001ad0| 20 64 69 73 6b 2e 1f 0a | 28 64 65 66 61 6c 69 61 | disk...|(defalia|
|00001ae0| 73 20 27 63 6c 74 6c 32 | 2d 66 65 74 63 68 2d 69 |s 'cltl2|-fetch-i|
|00001af0| 6e 64 65 78 2d 62 79 2d | 66 69 6c 65 20 23 5b 6e |ndex-by-|file #[n|
|00001b00| 69 6c 20 22 c0 09 c2 c3 | 23 89 14 87 22 20 5b 66 |il "....|#..." [f|
|00001b10| 69 6e 64 2d 66 69 6c 65 | 2d 6e 6f 73 65 6c 65 63 |ind-file|-noselec|
|00001b20| 74 20 2a 63 6c 74 6c 32 | 2d 69 6e 64 65 78 2d 68 |t *cltl2|-index-h|
|00001b30| 6f 6d 65 2a 20 6e 69 6c | 20 74 20 2a 63 6c 74 6c |ome* nil| t *cltl|
|00001b40| 32 2d 69 6e 64 65 78 2d | 62 75 66 66 65 72 2d 6e |2-index-|buffer-n|
|00001b50| 61 6d 65 2a 5d 20 34 20 | 28 23 24 20 2e 20 36 38 |ame*] 4 |(#$ . 68|
|00001b60| 34 34 29 5d 29 0a 23 40 | 32 36 20 46 65 74 63 68 |44)]).#@|26 Fetch|
|00001b70| 20 74 68 65 20 69 6e 64 | 65 78 20 76 69 61 20 57 | the ind|ex via W|
|00001b80| 57 57 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |WW...(de|falias '|
|00001b90| 63 6c 74 6c 32 2d 66 65 | 74 63 68 2d 69 6e 64 65 |cltl2-fe|tch-inde|
|00001ba0| 78 2d 62 79 2d 77 77 77 | 20 23 5b 6e 69 6c 20 22 |x-by-www| #[nil "|
|00001bb0| 8a 08 19 5c 6e 10 c3 0c | 21 88 09 89 10 2a 87 22 |...\n...|!....*."|
|00001bc0| 20 5b 75 72 6c 2d 77 6f | 72 6b 69 6e 67 2d 62 75 | [url-wo|rking-bu|
|00001bd0| 66 66 65 72 20 6f 6c 64 | 2d 75 72 6c 2d 77 6f 72 |ffer old|-url-wor|
|00001be0| 6b 69 6e 67 2d 62 75 66 | 66 65 72 20 2a 63 6c 74 |king-buf|fer *clt|
|00001bf0| 6c 32 2d 69 6e 64 65 78 | 2d 62 75 66 66 65 72 2d |l2-index|-buffer-|
|00001c00| 6e 61 6d 65 2a 20 75 72 | 6c 2d 72 65 74 72 69 65 |name* ur|l-retrie|
|00001c10| 76 65 20 2a 63 6c 74 6c | 32 2d 69 6e 64 65 78 2d |ve *cltl|2-index-|
|00001c20| 68 6f 6d 65 2a 5d 20 32 | 20 28 23 24 20 2e 20 37 |home*] 2| (#$ . 7|
|00001c30| 30 31 39 29 5d 29 0a 23 | 40 31 37 37 20 46 69 72 |019)]).#|@177 Fir|
|00001c40| 73 74 20 63 68 65 63 6b | 73 20 69 66 20 66 75 6e |st check|s if fun|
|00001c50| 63 74 69 6f 6e 20 63 61 | 6e 20 62 65 20 66 6f 75 |ction ca|n be fou|
|00001c60| 6e 64 20 69 6e 20 74 68 | 65 20 43 4c 74 4c 32 2d |nd in th|e CLtL2-|
|00001c70| 69 6e 64 65 78 2d 66 69 | 6c 65 2e 0a 20 49 66 20 |index-fi|le.. If |
|00001c80| 69 74 20 63 61 6e 20 62 | 65 20 66 6f 75 6e 64 2c |it can b|e found,|
|00001c90| 20 75 73 65 73 20 74 68 | 65 20 66 75 6e 63 74 69 | uses th|e functi|
|00001ca0| 6f 6e 20 62 72 6f 77 73 | 65 2d 75 72 6c 20 74 6f |on brows|e-url to|
|00001cb0| 20 68 61 76 65 20 61 20 | 6c 6f 6f 6b 0a 20 61 74 | have a |look. at|
|00001cc0| 20 74 68 65 20 63 6f 72 | 72 65 73 70 6f 6e 64 69 | the cor|respondi|
|00001cd0| 6e 67 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |ng docum|entation|
|00001ce0| 20 66 72 6f 6d 20 43 4c | 74 4c 32 2e 1f 0a 28 64 | from CL|tL2...(d|
|00001cf0| 65 66 61 6c 69 61 73 20 | 27 63 6c 74 6c 32 2d 76 |efalias |'cltl2-v|
|00001d00| 69 65 77 2d 66 75 6e 63 | 74 69 6f 6e 2d 64 65 66 |iew-func|tion-def|
|00001d10| 69 6e 69 74 69 6f 6e 20 | 23 5b 28 65 6e 74 72 79 |inition |#[(entry|
|00001d20| 29 20 22 c0 20 ab 83 c1 | 20 88 c2 c3 0c 21 21 89 |) ". ...| ....!!.|
|00001d30| 1d ad bf c6 c7 0c 5c 22 | 88 c8 c9 0e 5c 6e 0d 44 |......\"|....\n.D|
|00001d40| 1e 0b 89 1e 0c cd 61 ab | 87 ce cf 0e 0b 5c 22 aa |......a.|.....\".|
|00001d50| a2 0e 0c c9 61 ab 87 ce | d0 0e 0b 5c 22 aa 95 0e |....a...|...\"...|
|00001d60| 0c d1 61 ab 8a ce d2 89 | 0e 0b d3 5c 22 5c 22 aa |..a.....|...\"\".|
|00001d70| 85 d4 d5 0e 0c 5c 22 2a | 21 29 87 22 20 5b 63 6c |.....\"*|!)." [cl|
|00001d80| 74 6c 32 2d 69 6e 64 65 | 78 2d 75 6e 70 72 65 70 |tl2-inde|x-unprep|
|00001d90| 61 72 65 64 2d 70 20 63 | 6c 74 6c 32 2d 66 65 74 |ared-p c|ltl2-fet|
|00001da0| 63 68 2d 69 6e 64 65 78 | 20 63 6c 74 6c 32 2d 66 |ch-index| cltl2-f|
|00001db0| 69 6e 64 2d 75 72 6c 2d | 66 6f 72 2d 66 75 6e 63 |ind-url-|for-func|
|00001dc0| 74 69 6f 6e 20 69 6e 74 | 65 72 6e 20 65 6e 74 72 |tion int|ern entr|
|00001dd0| 79 20 65 6e 74 72 79 2d | 75 72 6c 20 6d 65 73 73 |y entry-|url mess|
|00001de0| 61 67 65 20 22 4c 6f 61 | 64 69 6e 67 20 66 6f 75 |age "Loa|ding fou|
|00001df0| 6e 64 20 65 6e 74 72 79 | 20 66 6f 72 20 25 73 20 |nd entry| for %s |
|00001e00| 69 6e 74 6f 20 62 72 6f | 77 73 65 72 2e 2e 22 20 |into bro|wser.." |
|00001e10| 62 72 6f 77 73 65 2d 75 | 72 6c 20 73 74 72 69 6e |browse-u|rl strin|
|00001e20| 67 20 2a 63 6c 74 6c 32 | 2d 68 6f 6d 65 2a 20 73 |g *cltl2|-home* s|
|00001e30| 65 71 73 20 74 79 70 65 | 20 76 65 63 74 6f 72 20 |eqs type| vector |
|00001e40| 61 70 70 6c 79 20 76 63 | 6f 6e 63 61 74 20 63 6f |apply vc|oncat co|
|00001e50| 6e 63 61 74 20 6c 69 73 | 74 20 61 70 70 65 6e 64 |ncat lis|t append|
|00001e60| 20 28 6e 69 6c 29 20 65 | 72 72 6f 72 20 22 4e 6f | (nil) e|rror "No|
|00001e70| 74 20 61 20 73 65 71 75 | 65 6e 63 65 20 74 79 70 |t a sequ|ence typ|
|00001e80| 65 20 6e 61 6d 65 3a 20 | 25 73 22 5d 20 37 20 28 |e name: |%s"] 7 (|
|00001e90| 23 24 20 2e 20 37 32 32 | 39 29 20 22 73 43 4c 74 |#$ . 722|9) "sCLt|
|00001ea0| 4c 32 2d 45 6e 74 72 79 | 20 74 6f 20 6c 6f 6f 6b |L2-Entry| to look|
|00001eb0| 75 70 3a 22 5d 29 0a 23 | 40 38 31 20 43 68 65 63 |up:"]).#|@81 Chec|
|00001ec0| 6b 73 20 69 66 20 77 65 | 20 63 61 6e 20 66 69 6e |ks if we| can fin|
|00001ed0| 64 20 61 20 70 61 67 65 | 20 66 6f 72 20 66 75 6e |d a page| for fun|
|00001ee0| 63 74 69 6f 6e 20 45 4e | 54 52 59 20 61 6e 64 0a |ction EN|TRY and.|
|00001ef0| 20 63 6f 6e 73 74 72 75 | 63 74 73 20 61 6e 20 55 | constru|cts an U|
|00001f00| 52 4c 20 66 72 6f 6d 20 | 69 74 2e 1f 0a 28 64 65 |RL from |it...(de|
|00001f10| 66 61 6c 69 61 73 20 27 | 63 6c 74 6c 32 2d 66 69 |falias '|cltl2-fi|
|00001f20| 6e 64 2d 75 72 6c 2d 66 | 6f 72 2d 66 75 6e 63 74 |nd-url-f|or-funct|
|00001f30| 69 6f 6e 20 23 5b 28 65 | 6e 74 72 79 29 20 22 c0 |ion #[(e|ntry) ".|
|00001f40| 09 5c 6e 5c 22 89 1b ac | 85 c4 c5 09 5c 22 88 0b |.\n\"...|....\"..|
|00001f50| 29 87 22 20 5b 67 65 74 | 68 61 73 68 20 65 6e 74 |)." [get|hash ent|
|00001f60| 72 79 20 2a 62 72 6f 77 | 73 65 2d 63 6c 74 6c 32 |ry *brow|se-cltl2|
|00001f70| 2d 68 74 2a 20 65 6e 74 | 72 79 2d 75 72 6c 20 65 |-ht* ent|ry-url e|
|00001f80| 72 72 6f 72 20 22 4e 6f | 20 65 6e 74 72 79 20 69 |rror "No| entry i|
|00001f90| 6e 20 43 4c 74 4c 32 20 | 66 6f 72 20 25 73 22 5d |n CLtL2 |for %s"]|
|00001fa0| 20 34 20 28 23 24 20 2e | 20 37 38 36 38 29 5d 29 | 4 (#$ .| 7868)])|
|00001fb0| 0a 23 40 32 39 20 42 72 | 6f 77 73 65 2d 75 72 6c |.#@29 Br|owse-url|
|00001fc0| 73 20 74 68 65 20 69 6e | 64 65 78 20 66 69 6c 65 |s the in|dex file|
|00001fd0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 63 6c |...(defa|lias 'cl|
|00001fe0| 74 6c 32 2d 76 69 65 77 | 2d 69 6e 64 65 78 20 23 |tl2-view|-index #|
|00001ff0| 5b 6e 69 6c 20 22 c0 09 | 21 87 22 20 5b 62 72 6f |[nil "..|!." [bro|
|00002000| 77 73 65 2d 75 72 6c 20 | 2a 63 6c 74 6c 32 2d 69 |wse-url |*cltl2-i|
|00002010| 6e 64 65 78 2d 68 6f 6d | 65 2a 5d 20 32 20 28 23 |ndex-hom|e*] 2 (#|
|00002020| 24 20 2e 20 38 31 31 38 | 29 20 6e 69 6c 5d 29 0a |$ . 8118|) nil]).|
|00002030| 23 40 38 38 20 4a 75 6d | 70 73 20 74 6f 20 74 68 |#@88 Jum|ps to th|
|00002040| 65 20 2a 63 6c 74 6c 32 | 2d 69 6e 64 65 78 2a 20 |e *cltl2|-index* |
|00002050| 62 75 66 66 65 72 20 61 | 6e 64 20 73 63 61 6e 73 |buffer a|nd scans|
|00002060| 20 69 74 2c 20 63 72 65 | 61 74 69 6e 67 20 61 20 | it, cre|ating a |
|00002070| 68 61 73 68 74 61 62 6c | 65 0a 20 66 6f 72 20 61 |hashtabl|e. for a|
|00002080| 6c 6c 20 65 6e 74 72 69 | 65 73 2e 1f 0a 28 64 65 |ll entri|es...(de|
|00002090| 66 61 6c 69 61 73 20 27 | 63 6c 74 6c 32 2d 70 72 |falias '|cltl2-pr|
|000020a0| 65 70 61 72 65 2d 69 6e | 64 65 78 20 23 5b 6e 69 |epare-in|dex #[ni|
|000020b0| 6c 20 22 c0 c1 21 88 8a | 5c 6e 71 88 65 62 88 c3 |l "..!..|\nq.eb..|
|000020c0| 0c c5 c6 23 89 1e 07 ab | 93 c8 c9 20 ca 20 0e 0b |...#....|... . ..|
|000020d0| 23 88 c3 0c c5 c6 23 89 | 16 07 ac 6d 2a c5 87 22 |#.....#.|...m*.."|
|000020e0| 20 5b 6d 65 73 73 61 67 | 65 20 22 50 72 65 70 61 | [messag|e "Prepa|
|000020f0| 72 69 6e 67 20 43 4c 74 | 4c 32 20 69 6e 64 65 78 |ring CLt|L2 index|
|00002100| 2e 22 20 2a 63 6c 74 6c | 32 2d 69 6e 64 65 78 2d |." *cltl|2-index-|
|00002110| 62 75 66 66 65 72 2d 6e | 61 6d 65 2a 20 72 65 2d |buffer-n|ame* re-|
|00002120| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 2a |search-f|orward *|
|00002130| 63 6c 74 6c 32 2d 73 65 | 61 72 63 68 2d 72 65 67 |cltl2-se|arch-reg|
|00002140| 65 78 70 72 2a 20 6e 69 | 6c 20 74 20 70 6f 69 6e |expr* ni|l t poin|
|00002150| 74 20 63 6c 2d 70 75 74 | 68 61 73 68 20 63 6c 74 |t cl-put|hash clt|
|00002160| 6c 32 2d 70 72 65 70 61 | 72 65 2d 67 65 74 2d 65 |l2-prepa|re-get-e|
|00002170| 6e 74 72 79 2d 6e 61 6d | 65 20 63 6c 74 6c 32 2d |ntry-nam|e cltl2-|
|00002180| 70 72 65 70 61 72 65 2d | 67 65 74 2d 65 6e 74 72 |prepare-|get-entr|
|00002190| 79 2d 75 72 6c 20 2a 62 | 72 6f 77 73 65 2d 63 6c |y-url *b|rowse-cl|
|000021a0| 74 6c 32 2d 68 74 2a 5d | 20 35 20 28 23 24 20 2e |tl2-ht*]| 5 (#$ .|
|000021b0| 20 38 32 34 35 29 5d 29 | 0a 23 40 37 30 20 47 65 | 8245)])|.#@70 Ge|
|000021c0| 74 20 74 68 65 20 65 6e | 72 74 79 20 6e 61 6d 65 |t the en|rty name|
|000021d0| 20 66 72 6f 6d 20 74 68 | 65 20 6c 61 73 74 20 6d | from th|e last m|
|000021e0| 61 74 63 68 20 6f 66 20 | 72 65 67 65 78 70 2d 73 |atch of |regexp-s|
|000021f0| 65 61 72 63 68 20 66 6f | 72 20 65 6e 74 72 69 65 |earch fo|r entrie|
|00002200| 73 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 |s...(def|alias 'c|
|00002210| 6c 74 6c 32 2d 70 72 65 | 70 61 72 65 2d 67 65 74 |ltl2-pre|pare-get|
|00002220| 2d 65 6e 74 72 79 2d 6e | 61 6d 65 20 23 5b 6e 69 |-entry-n|ame #[ni|
|00002230| 6c 20 22 c0 c1 c2 21 21 | 87 22 20 5b 69 6e 74 65 |l "...!!|." [inte|
|00002240| 72 6e 20 6d 61 74 63 68 | 2d 73 74 72 69 6e 67 20 |rn match|-string |
|00002250| 32 5d 20 34 20 28 23 24 | 20 2e 20 38 36 33 38 29 |2] 4 (#$| . 8638)|
|00002260| 5d 29 0a 23 40 36 39 20 | 47 65 74 20 74 68 65 20 |]).#@69 |Get the |
|00002270| 65 6e 72 74 79 20 75 72 | 6c 20 66 72 6f 6d 20 74 |enrty ur|l from t|
|00002280| 68 65 20 6c 61 73 74 20 | 6d 61 74 63 68 20 6f 66 |he last |match of|
|00002290| 20 72 65 67 65 78 70 2d | 73 65 61 72 63 68 20 66 | regexp-|search f|
|000022a0| 6f 72 20 65 6e 74 72 69 | 65 73 2e 1f 0a 28 64 65 |or entri|es...(de|
|000022b0| 66 61 6c 69 61 73 20 27 | 63 6c 74 6c 32 2d 70 72 |falias '|cltl2-pr|
|000022c0| 65 70 61 72 65 2d 67 65 | 74 2d 65 6e 74 72 79 2d |epare-ge|t-entry-|
|000022d0| 75 72 6c 20 23 5b 6e 69 | 6c 20 22 c0 c1 21 87 22 |url #[ni|l "..!."|
|000022e0| 20 5b 6d 61 74 63 68 2d | 73 74 72 69 6e 67 20 31 | [match-|string 1|
|000022f0| 5d 20 33 20 28 23 24 20 | 2e 20 38 38 30 38 29 5d |] 3 (#$ |. 8808)]|
|00002300| 29 0a 23 40 34 31 20 43 | 68 65 63 6b 20 69 66 20 |).#@41 C|heck if |
|00002310| 74 68 65 20 69 6e 64 65 | 78 20 69 73 20 61 6c 72 |the inde|x is alr|
|00002320| 65 61 64 79 20 70 72 65 | 70 61 72 65 64 2e 1f 0a |eady pre|pared...|
|00002330| 28 64 65 66 61 6c 69 61 | 73 20 27 63 6c 74 6c 32 |(defalia|s 'cltl2|
|00002340| 2d 69 6e 64 65 78 2d 75 | 6e 70 72 65 70 61 72 65 |-index-u|nprepare|
|00002350| 64 2d 70 20 23 5b 6e 69 | 6c 20 22 c0 09 21 ad 85 |d-p #[ni|l "..!..|
|00002360| c2 09 21 c3 59 3f 87 22 | 20 5b 68 61 73 68 2d 74 |..!.Y?."| [hash-t|
|00002370| 61 62 6c 65 2d 70 20 2a | 62 72 6f 77 73 65 2d 63 |able-p *|browse-c|
|00002380| 6c 74 6c 32 2d 68 74 2a | 20 68 61 73 68 2d 74 61 |ltl2-ht*| hash-ta|
|00002390| 62 6c 65 2d 63 6f 75 6e | 74 20 31 5d 20 32 20 28 |ble-coun|t 1] 2 (|
|000023a0| 23 24 20 2e 20 38 39 36 | 37 29 5d 29 0a 23 40 32 |#$ . 896|7)]).#@2|
|000023b0| 37 33 20 41 64 64 73 20 | 62 72 6f 77 73 65 2d 63 |73 Adds |browse-c|
|000023c0| 6c 74 6c 32 20 74 6f 20 | 6c 69 73 70 2d 6d 6f 64 |ltl2 to |lisp-mod|
|000023d0| 65 2e 20 49 66 20 79 6f | 75 20 75 73 65 20 69 6c |e. If yo|u use il|
|000023e0| 69 73 70 20 28 69 6e 73 | 74 61 6c 6c 65 64 20 76 |isp (ins|talled v|
|000023f0| 69 61 20 61 20 68 6f 6f | 6b 0a 20 6f 6e 20 6c 69 |ia a hoo|k. on li|
|00002400| 73 70 2d 6d 6f 64 65 29 | 20 61 64 64 20 62 72 6f |sp-mode)| add bro|
|00002410| 77 73 65 2d 63 6c 74 6c | 32 20 74 6f 20 69 6c 69 |wse-cltl|2 to ili|
|00002420| 73 70 2e 20 43 68 65 63 | 6b 20 74 68 65 20 76 61 |sp. Chec|k the va|
|00002430| 72 69 61 62 6c 65 73 20 | 2a 63 6c 74 6c 32 2d 76 |riables |*cltl2-v|
|00002440| 66 64 2d 6b 65 79 2a 0a | 20 61 6e 64 20 2a 63 6c |fd-key*.| and *cl|
|00002450| 74 6c 32 2d 76 69 2d 6b | 65 79 2a 20 66 6f 72 20 |tl2-vi-k|ey* for |
|00002460| 74 68 65 20 6b 65 79 62 | 69 6e 64 69 6e 67 73 2e |the keyb|indings.|
|00002470| 20 55 6e 64 65 72 20 58 | 45 6d 61 63 73 20 77 65 | Under X|Emacs we|
|00002480| 20 77 69 6c 6c 20 61 64 | 64 20 6f 75 72 73 65 6c | will ad|d oursel|
|00002490| 66 20 74 6f 0a 20 74 68 | 65 20 63 6f 72 72 65 73 |f to. th|e corres|
|000024a0| 70 6f 6e 64 69 6e 67 20 | 6d 65 6e 75 73 20 69 66 |ponding |menus if|
|000024b0| 20 74 68 65 72 65 20 65 | 78 69 73 74 73 20 6f 6e | there e|xists on|
|000024c0| 65 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 |e...(def|alias 'c|
|000024d0| 6c 74 6c 32 2d 6c 69 73 | 70 2d 6d 6f 64 65 2d 69 |ltl2-lis|p-mode-i|
|000024e0| 6e 73 74 61 6c 6c 20 23 | 5b 6e 69 6c 20 22 c0 09 |nstall #|[nil "..|
|000024f0| c2 5c 22 88 c0 0b c4 5c | 22 88 c5 c6 0e 07 5c 22 |.\"....\|".....\"|
|00002500| ad b2 c8 c9 21 ab 92 c8 | ca 21 ab 8d cb 0e 0c cd |....!...|.!......|
|00002510| 5c 22 40 ab 85 ce cf d0 | 5c 22 87 cb 0e 0c d1 5c |\"@.....|\".....\|
|00002520| 22 40 ab 85 ce d2 d3 5c | 22 87 cb 0e 0c d4 5c 22 |"@.....\|".....\"|
|00002530| 40 3f 3f ad 84 ce d5 d6 | 5c 22 87 22 20 5b 6c 6f |@??.....|\"." [lo|
|00002540| 63 61 6c 2d 73 65 74 2d | 6b 65 79 20 2a 63 6c 74 |cal-set-|key *clt|
|00002550| 6c 32 2d 76 66 64 2d 6b | 65 79 2a 20 63 6c 74 6c |l2-vfd-k|ey* cltl|
|00002560| 32 2d 76 69 65 77 2d 66 | 75 6e 63 74 69 6f 6e 2d |2-view-f|unction-|
|00002570| 64 65 66 69 6e 69 74 69 | 6f 6e 20 2a 63 6c 74 6c |definiti|on *cltl|
|00002580| 32 2d 76 69 2d 6b 65 79 | 2a 20 63 6c 74 6c 32 2d |2-vi-key|* cltl2-|
|00002590| 76 69 65 77 2d 69 6e 64 | 65 78 20 73 74 72 69 6e |view-ind|ex strin|
|000025a0| 67 2d 6d 61 74 63 68 20 | 22 58 45 6d 61 63 73 5c |g-match |"XEmacs\|
|000025b0| 5c 7c 4c 75 63 69 64 22 | 20 65 6d 61 63 73 2d 76 |\|Lucid"| emacs-v|
|000025c0| 65 72 73 69 6f 6e 20 66 | 65 61 74 75 72 65 70 20 |ersion f|eaturep |
|000025d0| 69 6c 69 73 70 2d 65 61 | 73 79 2d 6d 65 6e 75 20 |ilisp-ea|sy-menu |
|000025e0| 6d 65 6e 75 62 61 72 20 | 66 69 6e 64 2d 6d 65 6e |menubar |find-men|
|000025f0| 75 2d 69 74 65 6d 20 63 | 75 72 72 65 6e 74 2d 6d |u-item c|urrent-m|
|00002600| 65 6e 75 62 61 72 20 28 | 22 49 4c 69 73 70 22 29 |enubar (|"ILisp")|
|00002610| 20 61 64 64 2d 73 75 62 | 6d 65 6e 75 20 28 22 49 | add-sub|menu ("I|
|00002620| 4c 69 73 70 22 20 22 44 | 6f 63 75 6d 65 6e 74 61 |Lisp" "D|ocumenta|
|00002630| 74 69 6f 6e 22 29 20 28 | 22 42 72 6f 77 73 65 20 |tion") (|"Browse |
|00002640| 43 4c 74 4c 32 22 20 5b | 22 56 69 65 77 20 65 6e |CLtL2" [|"View en|
|00002650| 74 72 79 22 20 63 6c 74 | 6c 32 2d 76 69 65 77 2d |try" clt|l2-view-|
|00002660| 66 75 6e 63 74 69 6f 6e | 2d 64 65 66 69 6e 69 74 |function|-definit|
|00002670| 69 6f 6e 20 74 5d 20 5b | 22 56 69 65 77 20 69 6e |ion t] [|"View in|
|00002680| 64 65 78 22 20 63 6c 74 | 6c 32 2d 76 69 65 77 2d |dex" clt|l2-view-|
|00002690| 69 6e 64 65 78 20 74 5d | 29 20 28 22 49 4c 69 73 |index t]|) ("ILis|
|000026a0| 70 22 29 20 28 22 4c 69 | 73 70 22 29 20 28 22 42 |p") ("Li|sp") ("B|
|000026b0| 72 6f 77 73 65 20 43 4c | 74 4c 32 22 20 5b 22 56 |rowse CL|tL2" ["V|
|000026c0| 69 65 77 20 65 6e 74 72 | 79 22 20 63 6c 74 6c 32 |iew entr|y" cltl2|
|000026d0| 2d 76 69 65 77 2d 66 75 | 6e 63 74 69 6f 6e 2d 64 |-view-fu|nction-d|
|000026e0| 65 66 69 6e 69 74 69 6f | 6e 20 74 5d 20 5b 22 56 |efinitio|n t] ["V|
|000026f0| 69 65 77 20 69 6e 64 65 | 78 22 20 63 6c 74 6c 32 |iew inde|x" cltl2|
|00002700| 2d 76 69 65 77 2d 69 6e | 64 65 78 20 74 5d 29 20 |-view-in|dex t]) |
|00002710| 28 22 4c 69 73 70 22 29 | 20 28 22 4c 69 73 70 22 |("Lisp")| ("Lisp"|
|00002720| 29 20 28 22 42 72 6f 77 | 73 65 20 43 4c 74 4c 32 |) ("Brow|se CLtL2|
|00002730| 22 20 5b 22 56 69 65 77 | 20 65 6e 74 72 79 22 20 |" ["View| entry" |
|00002740| 63 6c 74 6c 32 2d 76 69 | 65 77 2d 66 75 6e 63 74 |cltl2-vi|ew-funct|
|00002750| 69 6f 6e 2d 64 65 66 69 | 6e 69 74 69 6f 6e 20 74 |ion-defi|nition t|
|00002760| 5d 20 5b 22 56 69 65 77 | 20 69 6e 64 65 78 22 20 |] ["View| index" |
|00002770| 63 6c 74 6c 32 2d 76 69 | 65 77 2d 69 6e 64 65 78 |cltl2-vi|ew-index|
|00002780| 20 74 5d 29 5d 20 33 20 | 28 23 24 20 2e 20 39 31 | t])] 3 |(#$ . 91|
|00002790| 33 39 29 20 6e 69 6c 5d | 29 0a 28 62 79 74 65 2d |39) nil]|).(byte-|
|000027a0| 63 6f 64 65 20 22 c0 c1 | c2 5c 22 88 c0 c3 c2 5c |code "..|.\"....\|
|000027b0| 22 88 c4 c5 21 87 22 20 | 5b 61 64 64 2d 68 6f 6f |"...!." |[add-hoo|
|000027c0| 6b 20 6c 69 73 70 2d 6d | 6f 64 65 2d 68 6f 6f 6b |k lisp-m|ode-hook|
|000027d0| 20 63 6c 74 6c 32 2d 6c | 69 73 70 2d 6d 6f 64 65 | cltl2-l|isp-mode|
|000027e0| 2d 69 6e 73 74 61 6c 6c | 20 69 6c 69 73 70 2d 6d |-install| ilisp-m|
|000027f0| 6f 64 65 2d 68 6f 6f 6b | 20 70 72 6f 76 69 64 65 |ode-hook| provide|
|00002800| 20 69 6c 69 73 70 2d 62 | 72 6f 77 73 65 2d 63 6c | ilisp-b|rowse-cl|
|00002810| 74 6c 32 5d 20 33 29 0a | |tl2] 3).| |
+--------+-------------------------+-------------------------+--------+--------+